# encoding: utf-8
#sdk version: 2.2.1060.13-SNAPSHOT

from sdktest_module.utils.api_base_builder import ApiBaseBuilder, parameter

class InitComponentApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.initComponent"

	@parameter(1,"long")
	def myUid(self, myUid):
		return self

	@parameter(2,"ComponentConfig")
	def config(self, config):
		return self

	@parameter(3,"tv.athena.live.base.LiveRoomBzMode")
	def liveRoomBzMode(self, liveRoomBzMode):
		return self

class InitComponentApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.initComponent"

	@parameter(1,"long")
	def sid(self, sid):
		return self

	@parameter(2,"long")
	def myUid(self, myUid):
		return self

	@parameter(3,"List")
	def componentConfigs(self, componentConfigs):
		return self

	@parameter(4,"tv.athena.live.base.LiveRoomBzMode")
	def liveRoomBzMode(self, liveRoomBzMode):
		return self

class InitComponentApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.initComponent"

	@parameter(1,"String")
	def sid(self, sid):
		return self

	@parameter(2,"long")
	def myUid(self, myUid):
		return self

	@parameter(3,"List")
	def componentConfigs(self, componentConfigs):
		return self

	@parameter(4,"tv.athena.live.base.LiveRoomBzMode")
	def liveRoomBzMode(self, liveRoomBzMode):
		return self

class InitChannelServiceApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.initChannelService"

	@parameter(1,"tv.athena.live.base.LiveRoomBzMode")
	def liveRoomBzMode(self, liveRoomBzMode):
		return self

class JoinRoomApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.joinRoom"

	@parameter(1,"long")
	def uid(self, uid):
		return self

	@parameter(2,"String")
	def userName(self, userName):
		return self

	@parameter(3,"long")
	def sid(self, sid):
		return self

	@parameter(4,"String")
	def password(self, password):
		return self

	@parameter(5,"String")
	def token(self, token):
		return self

	@parameter(6,"String")
	def positionToken(self, positionToken):
		return self

	@parameter(7,"String")
	def extend(self, extend):
		return self

	@parameter(8,"tv.athena.live.api.IDataCallback")
	def callback(self, callback):
		return self

class JoinRoomApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.joinRoom"

	@parameter(1,"long")
	def uid(self, uid):
		return self

	@parameter(2,"String")
	def userName(self, userName):
		return self

	@parameter(3,"String")
	def sid(self, sid):
		return self

	@parameter(4,"String")
	def password(self, password):
		return self

	@parameter(5,"String")
	def token(self, token):
		return self

	@parameter(6,"String")
	def positionToken(self, positionToken):
		return self

	@parameter(7,"String")
	def extend(self, extend):
		return self

	@parameter(8,"tv.athena.live.api.IDataCallback")
	def callback(self, callback):
		return self

class LeaveRoomApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.leaveRoom"

	@parameter(1,"long")
	def uid(self, uid):
		return self

	@parameter(2,"long")
	def sid(self, sid):
		return self

	@parameter(3,"String")
	def extend(self, extend):
		return self

class LeaveRoomApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.leaveRoom"

	@parameter(1,"long")
	def uid(self, uid):
		return self

	@parameter(2,"String")
	def sid(self, sid):
		return self

class ActivatingThunderHandleApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.activatingThunderHandle"

class OnRoomStatusEventApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.onRoomStatusEvent"

	@parameter(1,"tv.athena.live.channel.RoomStatusEvent")
	def event(self, event):
		return self

class DeInitComponentApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.deInitComponent"

class RegisterBroadcastByStreamRoomIdApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.registerBroadcastByStreamRoomId"

	@parameter(1,"String")
	def streamRoomId(self, streamRoomId):
		return self

	@parameter(2,"tv.athena.live.api.IDataCallback")
	def callback(self, callback):
		return self

class DestroyAllComponentApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.destroyAllComponent"

class CreateAllComponentApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.createAllComponent"

class AppOnForegroundApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.appOnForeground"

class AppOnBackgroundApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.appOnBackground"

class HasJoinAthRoomApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.hasJoinAthRoom"

class HasJoinRoomApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.hasJoinRoom"

class HasJoinMediaRoomApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.hasJoinMediaRoom"

